package cn.gson.work.model.mapper;

import cn.gson.work.model.pojos.Budcate;
import cn.gson.work.model.pojos.Budget;
import cn.gson.work.model.pojos.Project;
import cn.gson.work.model.pojos.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BudgetsMapper {
    //根据预算主题进行模糊查询
    public List<Budget> ys(@Param("B_NAME") String B_NAME);
    //下拉框预算类型
    public List<Budcate> lei();
    //负责人
    public List<User> gg();
    //项目
    public List<Project> xm();
    //新增方法
    public void addBudget(Budget budget);
    public void sk(Budget budget);
}
